package everyday;

import java.util.List;

/**
 * @author le
 */
public class Test01
{
    public static void main(String[] args)
    {

    }
    public ListNode deleteDuplicationNode (ListNode pHead) {
        // write code here
        ListNode node = pHead;
        while(node.next != null){
            if (node.val == node.next.val){
                node = node.next;
            }
            node = node.next;
        }
        return pHead;
    }
}
